class  {
    onCreate() {
        this.state = {
            count: 0
        }
    }
}

<inner count=state.count key="inner"/>
